#ifndef _H_MAINWIN
#define _H_MAINWIN

#include <windows.h>

#include "window.h"
#include "font.h"
#include "frame.h"
#include "timer.h"
#include "textField.h"
#include "passwordField.h"
#include "button.h"
#include "toggleButton.h"
#include "label.h"
#include "textDisplay.h"
#include "barSelector.h"

extern window*  win;

class mainWin: public window{

    protected:
        font*    ft;

        styleSheet* sSheet;

        fieldSet    bkg;
        frame       frm;
        winBar      bar;

        barSelector bsel;

        timer       tim;

        textDisplay td;

    public:
        mainWin();
        ~mainWin();

        virtual void eventListener(event*);

        void drawGLScene();
        font* getFont();
};

#endif
